# -*- coding: utf-8 -*-

#
import pytest, os
import sys
sys.path.append('..')

# sys.path.append('..\\case')
# sys.path.append('..\\common')
# sys.path.append('..\\conf')
# sys.path.append('..\\data')
# sys.path.append('..\\images')
# sys.path.append('..\\logs')
# sys.path.append('..\\report')
# from common import send_port

# os.system('allure open -h 127.0.0.1 -p 8883 ./report/html/')

if __name__ == '__main__':
    pytest.main()
    os.system("allure generate ./report/xml -o ./report/allure-report --clean")
# #     # # send_port.send_port_email()  # 向指定邮箱地址 发送测试报告
# #     # # send_linux()  # 向钉钉发送测试报告通知，报告文件放在指定的linux里面
# #     # print("这次就执行一个打印方法")
#     ceshihanshu()